SUMMARY = "OpenBMC for Phytium - Applications"
PR = "r1"

inherit packagegroup

PROVIDES = "${PACKAGES}"
PACKAGES = " \
             ${PN}-chassis \
             ${PN}-flash \
             ${PN}-fans \
             ${PN}-system \
             "

PROVIDES += "virtual/obmc-chassis-mgmt"
PROVIDES += "virtual/obmc-flash-mgmt"
PROVIDES += "virtual/obmc-fan-mgmt"
PROVIDES += "virtual/obmc-system-mgmt"

RPROVIDES:${PN}-chassis += "virtual-obmc-chassis-mgmt"
RPROVIDES:${PN}-fans += "virtual-obmc-fan-mgmt"
RPROVIDES:${PN}-flash += "virtual-obmc-flash-mgmt"
RPROVIDES:${PN}-system += "virtual-obmc-system-mgmt"

SUMMARY:${PN}-chassis = "Phytium Chassis"
RDEPENDS:${PN}-chassis = ""

SUMMARY:${PN}-fans = "Phytium Fans"
RDEPENDS:${PN}-fans = ""

SUMMARY:${PN}-flash = "Phytium Flash"
RDEPENDS:${PN}-flash = ""

SUMMARY:${PN}-system = "Phytium System"
RDEPENDS:${PN}-system = " \
                          webui-vue \
                          phosphor-ipmi-blobs \
                          smbios-mdr \
                          haveged \
                          ipmitool \
                          gpio-manager \
                          phosphor-ipmi-ipmb \
                          "
